package db;

/**
 * @author 计算机系 ITAEM 摆渡人
 * @description
 * @date 2022/9/22 13:27
 */
public class AIPlayer extends Player{
    private final String username = "AI";
    private String player;
    private Boolean isBlack;
    private Boolean isYour;
    private String chess;
    private final int goBackCount = 0;
    private node node;

    public AIPlayer() {
    }

    public AIPlayer(String player, Boolean isBlack, Boolean isYour, String chess) {
        this.player = player;
        this.isBlack = isBlack;
        this.isYour = isYour;
        this.chess = chess;
    }

    public String getUsername() {
        return username;
    }

    public String getPlayer() {
        return player;
    }

    public void setPlayer(String player) {
        this.player = player;
    }

    public Boolean getBlack() {
        return isBlack;
    }

    public void setBlack(Boolean black) {
        isBlack = black;
    }

    public Boolean getYour() {
        return isYour;
    }

    public void setYour(Boolean your) {
        isYour = your;
    }

    public String getChess() {
        return chess;
    }

    public void setChess(String chess) {
        this.chess = chess;
    }

    public int getGoBackCount() {
        return goBackCount;
    }

    public int[] getDown(String[][] bord){
        return null;
    }
}

class node {
    private Integer value;
    private node[] next;

    public node() {
    }

    public node(Integer value, node[] next) {
        this.value = value;
        this.next = next;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public node[] getNext() {
        return next;
    }

    public void setNext(node[] next) {
        this.next = next;
    }
}
